<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
  <title>Document</title>
  <link rel="stylesheet" href="time.css">
  <script src="time.js"></script>
  <style>
    input{
      margin: 40px;
    }
  </style>
</head>

<body>
  <input type="text" name='ka-time'>
  <input type="text" name='ka-time'>
  <input type="text" name='ka-time'>


</body>
<script>
  let name = new Time()

  name.onEvent('time',function(e){
    console.log(e.detail);  
  })
  


</script>

</html>